package com.cwm.test.factory.abstractfactory;

public class WangNanFactory extends AbstractFactory{

    @Override
    public Clothes produceClothes() {
        WangNanClothes clothes =  (WangNanClothes)newInstance(WangNanClothes.class);
        return clothes;
    }

    @Override
    public Food produceFood() {
        WangNanFood food =  (WangNanFood)newInstance(WangNanFood.class);
        return food;
    }
}
